<template>
    <div>
        asdasd
        <router-view></router-view>
    </div>
</template>

<script>
export default {
    name: 'AdminApp',
    setup() {
        const appElement = document.getElementById('admin-app');
        const initialData = JSON.parse(appElement.dataset.initial || '{}');
        console.log(initialData);
        return {
            title: initialData.title || 'Admin Module'
        };
    }
}
</script>
